package com.topc.participant.service;

import com.topc.base.model.PageParams;
import com.topc.base.model.PageResult;
import com.topc.participant.model.dto.QueryMenuInfoDto;
import com.topc.participant.model.po.MenuInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.topc.participant.model.vo.MenuShowVo;
import com.topc.participant.model.vo.MenuTreeShowVo;

import java.util.List;

/**
 * <p>
 * 资源表 服务类
 * </p>
 *
 * @author itcast
 * @since 2024-01-25
 */
public interface IMenuInfoService extends IService<MenuInfo> {

    List<MenuShowVo> getMenuShowList(int isParent);

    PageResult<MenuInfo> searchMenuInfoByPage(PageParams pageParams, QueryMenuInfoDto queryMenuInfoDto);

    void addMenuInfo(MenuInfo menuInfo);

    void delMenuInfo(Long menuId);

    List<MenuTreeShowVo> getMenuTree();
}
